<template>
  <div class="FrontFooter-wrap">
      <span class="FrontFooter-clock">{{ date | dateSecondFormat }}</span>
      <span class="terminalinfo">{{this.$store.state.terminfo.terminfo.termId}}</span>
  </div>
</template>

<script>
// import LogoUrl from '@/asslogo.png'
// import LogoUrl from "@images/logo.png"
export default {
  name: "FrontFooter",
  data: function() {
    return {
      LogoUrl:this.$store.state.terminfo.hospLogo,
      sceneid:this.$store.state.terminfo.seceninfo.sceneid,
      date: new Date()
    };
  },
  props: {
    title: String,
    subTitle: String
  },
  methods: {
    clockRun() {
      // 显示当前日期时间
      this.timer = setInterval(() => {
        this.date = new Date();
      }, 1000);
    },
  },
  mounted() {
    // 显示当前日期时间
    this.clockRun();
  },

};
</script>
<style scoped>
.FrontFooter-title {
  display: inline-block;
  line-height: 60px;
  font-weight: bold;
  letter-spacing: 4px;
  font-size: 25px;
  width: 400px;
  text-align: center;
  color: #fff;
  position: relative;
  vertical-align: top;
}
.FrontFooter-clock{
  width: 100%;
  position: absolute;
  top: 5px;
  font-size: 28px;
  color:#eee;
  text-align: center;
  }
  .terminalinfo{
  position: absolute;
  right: 5px;
  top: 30px;
  font-size: 18px;
  font-weight: bold;
  color:rgb(180, 68, 68);
  }
</style>
